Release 10.1A: OpenEdge Getting Started:
Installation and Configuration
Shared memory and kernel configuration
In OpenEdge, the multi-threaded architecture makes heavy use of file descriptors, shared memory, and semaphores. Allocation of these resources is controlled by system configuration parameters. On most systems, these parameters are set to values appropriate for OpenEdge applications. However, in some cases, one or more parameters might not be set optimally, thereby limiting the number of OpenEdge users. If you have to reset the parameters, you must reconfigure your kernel. See your operating system documentation for information on reconfiguring your operating system kernel.
The optimal parameter settings depend on the system, the application, the number of users, and some minor factors. Table 6–8 lists the crucial parameters and provides guidelines for choosing adequate values for each one.
The parameter settings in Table 6–8 are guidelines. Parameter values near these are acceptable in most cases, but a particular system or application might require increasing the limits.
If shared memory or semaphores are allocated incorrectly, OpenEdge displays an error message when it attempts to start an additional user or server. For example, if
SEMMNSis set too low,PROSERVEfails and displays the following message:
Change the relevant parameter values and reconfigure the kernel in response to semaphore or shared-memory errors at startup. Table 6–9 lists the parameters that you might have to raise in response to various OpenEdge error codes.
Table 6–9: Error codes and kernel reconfiguration parameters Error code Parameter to increase 1081 1093SEMMSLorSEMMNS 1130 1131SEMMNIandSEMMNS 1135 1137 1175 1195Note: The Blocks in Database Buffers (
-B), Lock-table Entries (-L), and Number of Users (-n) startup parameters all affect shared-memory usage. The Number of Users (-n) and Maximum Servers (-Mn) parameters affect semaphore usage (each user or server process uses one semaphore). Before reconfiguring your kernel to increase shared memory or semaphore allocation, see whether you can lower these startup values.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |